//
//  ClinicalTrialGov.h
//  ClinicalCollections
//
//  Created by janakiraman gopinath on 5/19/13.
//  Copyright (c) 2013 GOPI. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class ArmGroups, Condition, Eligibility, GroupTypes, Groups, Intervention, Location, Outcome, Search, Status;

@interface ClinicalTrialGov : NSManagedObject

@property (nonatomic, retain) NSString * briefTitle;
@property (nonatomic, retain) NSString * city;
@property (nonatomic, retain) NSNumber * lat;
@property (nonatomic, retain) NSNumber * lng;
@property (nonatomic, retain) NSString * nctID;
@property (nonatomic, retain) NSString * status;
@property (nonatomic, retain) NSString * detailed_desc;
@property (nonatomic, retain) NSString * first_received_date;
@property (nonatomic, retain) NSString * primary_completion_date;
@property (nonatomic, retain) NSString * first_received_results_date;
@property (nonatomic, retain) NSString * completion_date;
@property (nonatomic, retain) NSString * start_date;
@property (nonatomic, retain) NSString * end_date;
@property (nonatomic, retain) NSString * number_of_arms;
@property (nonatomic, retain) NSString * phase;
@property (nonatomic, retain) NSString * number_of_groups;
@property (nonatomic, retain) NSString * study_design;
@property (nonatomic, retain) NSString * study_type;
@property (nonatomic, retain) NSSet *armGroups;
@property (nonatomic, retain) NSSet *condition;
@property (nonatomic, retain) Status *distinctStatus;
@property (nonatomic, retain) NSSet *groups;
@property (nonatomic, retain) NSSet *groupTypes;
@property (nonatomic, retain) NSSet *location;
@property (nonatomic, retain) NSSet *outcome;
@property (nonatomic, retain) Search *search;
@property (nonatomic, retain) NSSet *intervention;
@property (nonatomic, retain) NSSet *eligibility;
@end

@interface ClinicalTrialGov (CoreDataGeneratedAccessors)

- (void)addArmGroupsObject:(ArmGroups *)value;
- (void)removeArmGroupsObject:(ArmGroups *)value;
- (void)addArmGroups:(NSSet *)values;
- (void)removeArmGroups:(NSSet *)values;

- (void)addConditionObject:(Condition *)value;
- (void)removeConditionObject:(Condition *)value;
- (void)addCondition:(NSSet *)values;
- (void)removeCondition:(NSSet *)values;

- (void)addGroupsObject:(Groups *)value;
- (void)removeGroupsObject:(Groups *)value;
- (void)addGroups:(NSSet *)values;
- (void)removeGroups:(NSSet *)values;

- (void)addGroupTypesObject:(GroupTypes *)value;
- (void)removeGroupTypesObject:(GroupTypes *)value;
- (void)addGroupTypes:(NSSet *)values;
- (void)removeGroupTypes:(NSSet *)values;

- (void)addLocationObject:(Location *)value;
- (void)removeLocationObject:(Location *)value;
- (void)addLocation:(NSSet *)values;
- (void)removeLocation:(NSSet *)values;

- (void)addOutcomeObject:(Outcome *)value;
- (void)removeOutcomeObject:(Outcome *)value;
- (void)addOutcome:(NSSet *)values;
- (void)removeOutcome:(NSSet *)values;

- (void)addInterventionObject:(Intervention *)value;
- (void)removeInterventionObject:(Intervention *)value;
- (void)addIntervention:(NSSet *)values;
- (void)removeIntervention:(NSSet *)values;

- (void)addEligibilityObject:(Eligibility *)value;
- (void)removeEligibilityObject:(Eligibility *)value;
- (void)addEligibility:(NSSet *)values;
- (void)removeEligibility:(NSSet *)values;

@end
